package com.example.constant.live;

import java.io.Serializable;

/**
 * 创建时间 2017/9/28
 * 作者 fengxn
 * ----------Dragon be here!----------/
 * 　　　┏┓　　　┏┓
 * 　　┏┛┻━━━┛┻┓
 * 　　┃　　　　　　　┃
 * 　　┃　　　━　　　┃
 * 　　┃　┳┛　┗┳　┃
 * 　　┃　　　　　　　┃
 * 　　┃　　　┻　　　┃
 * 　　┃　　　　　　　┃
 * 　　┗━┓　　　┏━┛
 * 　　　　┃　　　┃神兽保佑
 * 　　　　┃　　　┃代码无BUG！
 * 　　　　┃　　　┗━━━┓
 * 　　　　┃　　　　　　　┣┓
 * 　　　　┃　　　　　　　┏┛
 * 　　　　┗┓┓┏━┳┓┏┛
 * 　　　　　┃┫┫　┃┫┫
 * 　　　　　┗┻┛　┗┻┛
 * ━━━━━━神兽出没━━━━━━
 */

public class LivesBean implements Serializable
{
    /**
     * face : http://i1.hdslb.com/bfs/face/656b9b545f266ab40bbd25d58bcc85cef79df6dd.jpg
     * mid : 34930811
     * name : 老板来个酱肘子
     */

    private OwnerBean owner;
    /**
     * src : http://i0.hdslb.com/bfs/live/d79addd7d2c63617a3d669b416cd531f57925b40.jpg
     * height : 180
     * width : 320
     */

    private CoverBean cover;
    private String title;
    private int room_id;
    private int check_version;
    private int online;
    private String area;
    private int area_id;
    private String playurl;

    @Override
    public String toString()
    {
        return "LivesBean{" +
                "owner=" + owner +
                ", cover=" + cover +
                ", title='" + title + '\'' +
                ", room_id=" + room_id +
                ", check_version=" + check_version +
                ", online=" + online +
                ", area='" + area + '\'' +
                ", area_id=" + area_id +
                ", playurl='" + playurl + '\'' +
                ", accept_quality='" + accept_quality + '\'' +
                ", broadcast_type=" + broadcast_type +
                ", is_tv=" + is_tv +
                '}';
    }

    private String accept_quality;
    private int broadcast_type;
    private int is_tv;

    public OwnerBean getOwner()
    {
        return owner;
    }

    public void setOwner(OwnerBean owner)
    {
        this.owner = owner;
    }

    public CoverBean getCover()
    {
        return cover;
    }

    public void setCover(CoverBean cover)
    {
        this.cover = cover;
    }

    public String getTitle()
    {
        return title;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public int getRoom_id()
    {
        return room_id;
    }

    public void setRoom_id(int room_id)
    {
        this.room_id = room_id;
    }

    public int getCheck_version()
    {
        return check_version;
    }

    public void setCheck_version(int check_version)
    {
        this.check_version = check_version;
    }

    public int getOnline()
    {
        return online;
    }

    public void setOnline(int online)
    {
        this.online = online;
    }

    public String getArea()
    {
        return area;
    }

    public void setArea(String area)
    {
        this.area = area;
    }

    public int getArea_id()
    {
        return area_id;
    }

    public void setArea_id(int area_id)
    {
        this.area_id = area_id;
    }

    public String getPlayurl()
    {
        return playurl;
    }

    public void setPlayurl(String playurl)
    {
        this.playurl = playurl;
    }

    public String getAccept_quality()
    {
        return accept_quality;
    }

    public void setAccept_quality(String accept_quality)
    {
        this.accept_quality = accept_quality;
    }

    public int getBroadcast_type()
    {
        return broadcast_type;
    }

    public void setBroadcast_type(int broadcast_type)
    {
        this.broadcast_type = broadcast_type;
    }

    public int getIs_tv()
    {
        return is_tv;
    }

    public void setIs_tv(int is_tv)
    {
        this.is_tv = is_tv;
    }

    public static class OwnerBean implements Serializable
    {
        private String face;
        private int mid;
        private String name;

        @Override
        public String toString()
        {
            return "OwnerBean{" +
                    "face='" + face + '\'' +
                    ", mid=" + mid +
                    ", name='" + name + '\'' +
                    '}';
        }

        public String getFace()
        {
            return face;
        }

        public void setFace(String face)
        {
            this.face = face;
        }

        public int getMid()
        {
            return mid;
        }

        public void setMid(int mid)
        {
            this.mid = mid;
        }

        public String getName()
        {
            return name;
        }

        public void setName(String name)
        {
            this.name = name;
        }
    }

    public static class CoverBean implements Serializable
    {
        private String src;
        private int height;
        private int width;

        public String getSrc()
        {
            return src;
        }

        public void setSrc(String src)
        {
            this.src = src;
        }

        public int getHeight()
        {
            return height;
        }

        public void setHeight(int height)
        {
            this.height = height;
        }

        public int getWidth()
        {
            return width;
        }

        public void setWidth(int width)
        {
            this.width = width;
        }
    }
}